package com.yjy.quartz.job.executor;

import com.yjy.quartz.job.Executor;

import java.time.LocalDateTime;
import java.util.Map;

public class Test3JobExecutor implements Executor {

	private static final long serialVersionUID = -4075367249586509028L;

	@Override
	public void execute(Map<String, String> context) {
		System.out.printf("时间：%s, 线程：%s, 执行类：%s 正在执行...\n", LocalDateTime.now(), Thread.currentThread().getName(), this.getClass().getName());
//		try {
//			Thread.sleep(10000);
//		} catch (InterruptedException e) {
//			e.printStackTrace();
//		}
	}

}